package xyz.bali16.module.sign.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("添加签到点参数")
public class SignPointAddParam {

    @ApiModelProperty(name = "userId", value = "用户id", required = true)
    @NotEmpty(message = "用户id不能为空")
    private String userId;
    @ApiModelProperty(name = "point", value = "签到积分", required = true)
    @NotEmpty(message = "签到积分不能为空")
    private Integer point;
}
